﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    
<html xmlns="http://www.w3.org/1999/xhtml"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd"
     xml:lang="en">
     
<head>
    <title lang="[$mylang]">SHoebox 4.0</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    
    <!-- template -->
    	<base href="[$CMS_site_admin_path_url]templates/[$CMS_template]/" />
    
    	<link rel="stylesheet" href="css/screen.css" media="screen" type="text/css" />
    	<link rel="stylesheet" href="css/print.css" media="print" type="text/css" />
		<link rel="stylesheet" href="css/sh_admin_screen.css" media="screen" type="text/css" />
		
	<!-- TinyMce wysiwyg editor -->
		[noprocess]
			<script language="javascript" type="text/javascript" src="js/tiny_mce/tiny_mce.js"></script>
			<script language="javascript" type="text/javascript" src="js/tiny_mce/tiny_mce_custom.js"></script>
		[/noprocess]
	 
	<!-- jQuery Library -->
		<script type="text/javascript" src="js/jquery-1.2.6.pack.js"></script>
	
	<!-- Tree -->
		<link rel="stylesheet" href="css/jquery.treeview.css" />
		<script type="text/javascript" src="js/jquery.cookie.js"></script>
		<script type="text/javascript" src="js/jquery.treeview.js"></script>
		<script type="text/javascript" src="js/tree.js"></script>
	
	<!-- jQuery actions -->
		<script type="text/javascript" src="js/actions.js"></script>
		
	<!-- jQuery Context Menu -->
		<script type="text/javascript" src="js/ContextMenu.js"></script>
		<script type='text/javascript' src='js/jquery.simplemodal.js'></script>
		
		<link rel="stylesheet" href="css/ui.tabs.css" type="text/css" media="screen">
		<script type='text/javascript' src='js/ui.tabs.pack.js'></script>

	<!-- Modal Lightbox -->
		<link type='text/css' href='css/modal_basic.css' rel='stylesheet' media='screen' />
		<!--[if lt IE 7]>
			<link type='text/css' href='css/modal_basic_ie.css' rel='stylesheet' media='screen' />
		<![endif]-->

</head>

<body>

    <div id="wrapper">
    
        <div id="header">
            <h1>SHoebox 4.0</h1>
        </div>
            
        <!-- Page menu and tree -->
        <div id="left">
        
            <!-- Tree actions-->
			<div id="tree_actions">
				<form class="tree_actions_form" id="pageform_add">
					<select name="PageType" id="tree_pagetype">
						<option value="Page">[$txt_pagetype_page]</option>
						<option value="URL">[$txt_pagetype_url]</option>
					</select>
					<input type="hidden" id="tree_currentpageid" name="currentpageid" value="[$myCMS->CMSPageID()]" />
					<input type="hidden" id="tree_langid" name="langid" value="[$myCMS->CMSLanguageID($mylang)]" />
					<input type="button" id="tree_actions_submit" name="tree_actions_submit" value="[$txt_pagetype_button_add]" />
				</form>
			</div>
            
            <!-- tree -->
			<div id="tree">
				[$myCMS->getTree()]
			</div>
			
			
        </div>
            
        <div id="main">
        
			<!-- Page -->
			<div id="content">
			
			    <div id="tab_content">

                    <ul>
                        <li><a href="#tab_pagecontent"><span>[$txt_tab_content]</span></a></li>
                        <li><a href="#tab_metadata"><span>[$txt_tab_metadata]</span></a></li>
                        <li><a href="#tab_behaviour"><span>[$txt_tab_behaviour]</span></a></li>
                        <li><a href="#tab_access"><span>[$txt_tab_access]</span></a></li>
                    </ul>
                    
                    <div id="tab_pagecontent">
                        [$myCMS->CMSPageContent()]
                    </div>
                    
                    <div id="tab_metadata">
						[$myCMS->CMSPageMetaTags()]
                    </div>
                    
                    <div id="tab_behaviour">
						[$myCMS->CMSPageBehaviour()]
                    </div>
                    
                    <div id="tab_access">
                        Coming soon
                    </div>
            
                </div>
                
                <div id="message"></div>
			
			</div>
			
			 <!-- Switch Language -->
            <div id="nav_main_menu" class="nav">
            	[$myCMS->getLangNav()]
            </div>

        </div>

    </div>

</body>
</html>